<html>
<body>
Normal page

<script>
  // Set a cookie outside any apps.
  var expire = new Date();
  expire.setDate(expire.getDate() + 1);  // tomorrow
  document.cookie = "normalPage=5; path=/; expires=" + expire + ";"
</script>
</body>
</html>
